Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: NotesUIDocument Print problem
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Functionality
Platform: Windows XP client
Release: 8.5
Reproducible: Always

I have created an Action button on the Memo form in my mail file (which is based on the StdR85Mail template). The idea is to automatically print email messages to a defined printer without having to go through the Print dialog.

Button code is as follows:
Sub Click(Source As Button)
Dim ws As New NotesUIWorkspace
Call ws.CurrentDocument.Print(0, , , ,"PDF Batch")
End Sub

When I open a basic text email the button works and printing occurs without popping up the Print dialog (as expected).

However, if I try to use the button on an external email containing anything other than basic text the Print dialog always pops up (unexpected).
If I then put the same external email into Edit mode, the button then does print correctly without the Print dialog.

I'm not sure exactly what the trigger is for external emails to print with/without the dialog, but the help tells me that using the UIDoc.Print
"If one or more parameters are specified, automatically prints the document"

Any clues?


Feedback number WEBB7TT36T created by ~Keiko Kirelitoni on 07/10/2009

Status: Open
Comments:

NotesUIDocument Print problem (~Keiko Kirelito... 10.Jul.09)
. . Same problem with 8.5.2 (~Pippy Loptumip... 8.Feb.11)
. . . . Same problem with 8.5.1 FP5 (~Alexis Opjumic... 24.Mar.11)
. . uidoc.Print (~Fred Chuhipi 26.Aug.11)
. . There are 2 solutions (~John Bubresapl... 15.Oct.11)
. . solution for older Notes versions, ... (~John Reniskiik... 17.Nov.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS